package com.xwj.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by thinkjoy on 2017/7/12.
 */
public class RaRole implements Serializable {

    private static final long serialVersionUID = -5044747990530207665L;
    private int id;
    private String role;
    private String descript;
    List<RaRoot> raRoots;
    private String jsonString;

    public RaRole() {
    }

    public RaRole(int id, String role, String descript) {
        this.id = id;
        this.role = role;
        this.descript = descript;
    }

    public RaRole(String role, String descript) {
        this.role = role;
        this.descript = descript;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getDescript() {
        return descript;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public List<RaRoot> getRaRoots() {
        return raRoots;
    }

    public void setRaRoots(List<RaRoot> raRoots) {
        this.raRoots = raRoots;
    }

    public String getJsonString() {
        return jsonString;
    }

    public void setJsonString(String jsonString) {
        this.jsonString = jsonString;
    }

    @Override
    public String toString() {
        return "RaRole{" +
                "id=" + id +
                ", role='" + role + '\'' +
                ", descript='" + descript + '\'' +
                ", raRoots=" + raRoots +
                ", jsonString='" + jsonString + '\'' +
                '}';
    }
}
